package com.xiaozhengkeji.xiaozhengblog.base.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.xiaozhengkeji.xiaozhengblog.base.mapper.SystemConfigEntityMapper;
import com.xiaozhengkeji.xiaozhengblog.base.entitys.SystemConfigEntity;
@Service
public class SystemConfigEntityService{

    @Resource
    private SystemConfigEntityMapper systemConfigEntityMapper;

    
    public int deleteByPrimaryKey(Integer id) {
        return systemConfigEntityMapper.deleteByPrimaryKey(id);
    }

    
    public int insert(SystemConfigEntity record) {
        return systemConfigEntityMapper.insert(record);
    }

    
    public int insertSelective(SystemConfigEntity record) {
        return systemConfigEntityMapper.insertSelective(record);
    }

    
    public SystemConfigEntity selectByPrimaryKey(Integer id) {
        return systemConfigEntityMapper.selectByPrimaryKey(id);
    }

    
    public int updateByPrimaryKeySelective(SystemConfigEntity record) {
        return systemConfigEntityMapper.updateByPrimaryKeySelective(record);
    }

    
    public int updateByPrimaryKey(SystemConfigEntity record) {
        return systemConfigEntityMapper.updateByPrimaryKey(record);
    }

    
    public List<SystemConfigEntity> queryByAll(SystemConfigEntity systemConfigEntity) {
        return systemConfigEntityMapper.queryByAll(systemConfigEntity);
    }

    
    public List<SystemConfigEntity> queryByConfigName(String configName) {
        return systemConfigEntityMapper.queryByConfigName(configName);
    }

}
